<?php

return array(
    // Модуль для вывода страниц
    'page' => array(
        'class' => 'application.modules.front.page.PageModule',
    ),
    'flat' => array(
        'class' => 'application.modules.front.flat.FlatModule',
    ),
    'user' => array(
        'class' => 'application.modules.front.user.UserModule',
        # encrypting method (php hash function)
        'hash' => 'md5',
        # send activation email
        'sendActivationMail' => true,
        # allow access for non-activated users
        'loginNotActiv' => FALSE,
        # activate user on registration (only sendActivationMail = false)
        'activeAfterRegister' => false,
        # automatically login from registration
        'autoLogin' => true,
        # registration path
        'registrationUrl' => array('/user/registration'),
        # recovery password path
        'recoveryUrl' => array('/user/recovery'),
        # login form path
        'loginUrl' => array('/user/login'),
        # page after login
        'returnUrl' => array('/page'),
        # page after logout
        'returnLogoutUrl' => array('/page'),
    ),
);
?>